home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / drivers / mscdex / hitachi / cd.inc < prev    next >
Encoding:
Text File  |  1990-10-15  |  3.4 KB  |  60 lines

  1. ; ***************************************************************************
  2. ; *                                                                         *
  3. ; * Hitachi CDR-3600/1600S C D - R O M Device Driver                        *
  4. ; * Copyright reserved by Hitachi, Ltd.                                     *
  5. ; *                                                                         *
  6. ; * CD.INC                                                                  *
  7. ; *                                                                         *
  8. ; * Command codes for CDREAD().                                             *
  9. ; *                                                                         *
  10. ; *                                                                         *
  11. ; * History:                                                                *
  12. ; *                                                                         *
  13. ; * Created  (v2.20)                                                        *
  14. ; *     Fri Jun 22 1990  -by- Michael Edwards                               *
  15. ; *     Moved these device dependent definitions from MSCDEX21.INC.         *
  16. ; * Modified (v2.20)                                                        *
  17. ; *     10/1/90 -by- JohnYG                                                 *
  18. ; *     Final Release (v2.20)                                               *
  19. ; *                                                                         *
  20. ; ***************************************************************************
  21.  
  22.  
  23. RESET_CMD               =        0h     ;Reset drive
  24. READ_CMD                =        1h     ;Read disc data until completed
  25. SEEK_CMD                =        2h     ;Seek to disc address
  26. SEEKW_CMD               =        3h     ;Seek to disc address until completed
  27. STATUS_CMD              =        4h     ;Get status
  28. DRVSTS_CMD              =        5h     ;Get drive-status
  29. READ_COOKED             =        6h     ;read bytes in cooked mode
  30. READ_UCOM               =        7h     ;Get RAM of drive micro-chip
  31. SEEK_LEADIN_CMD         =        8h     ;Seek to Lead-in track
  32. READ_Q_CMD              =        9h     ;Read 10 subcode-Q bytes
  33. PAUSE_CMD               =       0ah     ;Pause (use to Stop play)
  34. AUDIO_CMD               =       0bh     ;Play audio
  35. ;                       =       0ch
  36. AUDIO_L_R_CMD           =       0dh     ;Play audio w/channel control
  37. AUDIO_TNO_CMD           =       0eh     ;Play audio w/channel control by TNO
  38. OPENDOOR_CMD            =       0fh     ;Eject disc
  39. CLOSEDOOR_CMD           =       10h     ;Load disc(not used)
  40. PREVENT_ALLOW_CMD       =       11h     ;Lock/Unlock door
  41. SET_POWER_SAVE          =       12h     ;SET POWER SAVE
  42. ;                       =       13h
  43. AUDIO_CHANNEL_CTL       =       14h     ;Audio channel control
  44. GET_DRIVE_VERSION       =       15h     ;VERSION
  45. ;                       =       16h
  46. MODESET_CMD             =       17h     ;Mode set
  47. ;                               18h     ;reserved
  48. ;                               19h     ;reserved
  49. READ_RAW                =       1ah     ;read bytes raw (2352)
  50. ;                               1b-ffh  ;reserved
  51.  
  52. ;
  53. ; from cdread.at for init stuff moved to cdrom_init
  54. ;
  55. ;       < I/O >
  56. TIMER_MODE      EQU     43H             ;8253 OR 8254
  57. TIMER0          EQU     40H
  58. IMR             EQU     21H             ;8259 (MASTER)
  59. RETRY2          EQU     2       ;LIMIT OF ERROR RETRY FOR OTHER COMMAND
  60.